#include "TcpServer.hpp"

#include <iostream>
#include <memory>

void DefaultOnMessage(std::shared_ptr<Connection> connection_ptr)
{
}

int main()
{
    std::unique_ptr<TcpServer> svr_ptr(new TcpServer(8082, DefaultOnMessage));
    svr_ptr->InitServer();
    svr_ptr->Loop();
    return 0;
}